From c829684bf9d0b945627a8526e9aeb39de4ca82ab Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Sun, 2 Dec 2018 23:34:28 -0600 Subject: [PATCH] Make prototype arg names match function arg names. --- jeeps/gpsapp.cc | 6 +++--- mtk_locus.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jeeps/gpsapp.cc b/jeeps/gpsapp.cc index 10a49a5f8..48fc98c8c 100644 --- a/jeeps/gpsapp.cc +++ b/jeeps/gpsapp.cc @@ -63,7 +63,7 @@ static void GPS_D105_Get(GPS_PWay* way, UC* s); static void GPS_D106_Get(GPS_PWay* way, UC* s); static void GPS_D107_Get(GPS_PWay* way, UC* s); static void GPS_D108_Get(GPS_PWay* way, UC* s); -static void GPS_D109_Get(GPS_PWay* way, UC* s, int proto); +static void GPS_D109_Get(GPS_PWay* way, UC* s, int protoid); static void GPS_D150_Get(GPS_PWay* way, UC* s); static void GPS_D151_Get(GPS_PWay* way, UC* s); static void GPS_D152_Get(GPS_PWay* way, UC* s); @@ -79,14 +79,14 @@ static void GPS_D105_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D106_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D107_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D108_Send(UC* data, GPS_PWay way, int32* len); -static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int proto); +static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int protoid); static void GPS_D150_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D151_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D152_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D154_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D155_Send(UC* data, GPS_PWay way, int32* len); -static void GPS_D120_Get(int n, char* data); +static void GPS_D120_Get(int cat_num, char*s); static void GPS_D200_Get(GPS_PWay* way, UC* s); static void GPS_D201_Get(GPS_PWay* way, UC* s); diff --git a/mtk_locus.cc b/mtk_locus.cc index f58dac73e..cbbffc209 100644 --- a/mtk_locus.cc +++ b/mtk_locus.cc @@ -115,7 +115,7 @@ static void process_pmtklox(); static void process_pmtklog(); static void process_pmtk001(); static void process_pmtk705(); -static void send_command(const char* s, const char* waitfor); +static void send_command(const char* s, const char*wait_for); static int calculate_checksum(const char* s, int length); static void dbg(int l, const char* msg, ...); -- 2.30.2